package com.example.managesystem.service.impl;

import com.example.managesystem.dto.TimeDto;
import com.example.managesystem.mapper.TimeMapper;
import com.example.managesystem.service.TimeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class TimeServiceImpl implements TimeService {
    @Autowired
    private TimeMapper timeMapper;

    /**
     * 发布时间
     * @param
     */
    @Override
    public void insertTime(TimeDto timedto) {
        log.info("发布时间");

        timeMapper.updateTime(1,timedto);
    }
}
